<!doctype html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>首页</title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link rel="stylesheet" href="../css/mui.min.css" />
		<link rel="stylesheet" href="../css/app.css" />
		<link rel="stylesheet" href="../css/icons-extra.css" />
		<style>
			html,body{
				height:100%;
			}
			.mui-bar {
			    -webkit-box-shadow:	none;
			    box-shadow: none;
			}
			.mui-content{
				min-height: 100%;
				display: flex;
				flex-direction: column;
				background-color: #FFFFFF;
			}
			
			.menu-content .mui-table-view{
				background-color: #ffffff;
			}
			.menu-item{
				padding:0px!important;
				background-color: transparent!important;
				height:10rem;
				float:left;
				
			}
			.menu-item a{
				padding:0px!important;
				display: flex!important;
			    flex-direction: column;
			    justify-content: center;
			    align-items: center;
			    width: 100%;
			    height: 100%;
			}
			.menu-item a .mui-icon{
				flex:initial;
			}
			
			.menu-item a .item-icon{
				width: 60px;
			    height: 60px;
			    margin-top: 10px;
			    background-position: center;
			    background-size: contain;
			    background-repeat: no-repeat;
			}
			
			.menu-item a .mui-icon,.menu-item a .mui-icon-extra{
				text-align: right;
			    color:#a4d7ff;
			}
			.menu-item a .mui-media-body{
				align-items: center;
				width: auto%!important;
    			text-align: center;
    			flex:initial;
			    color:#333333!important;
			    font-size:16px!important;
			    height: auto!important;
			    line-height: 1.5!important;
			}
			.mui-grid-view.mui-grid-9 {
			    /*border-top: 2px solid #01498d;
			    border-left: 2px solid #01498d;*/
			}
			.mui-grid-view.mui-grid-9 .mui-table-view-cell {
			    /*border-right: 2px solid #01498d;
			    border-bottom: 2px solid #01498d;*/
			}
			
			
			/** 查询框 */
			.mui-input-group:before {
			    height: 0px;
			}
			.mui-input-group:after {
			    height: 0px;
			}
			.mui-input-group {
			    margin: 15px;
			    background-color: #FFFFFF;
			    
			}
			.mui-input-group .mui-input-row:after {
			    height: 0px;
			}
			.mui-search .mui-placeholder {
			    font-size: 16px;
			    line-height: 40px;
			    position: absolute;
			    height: 40px;
			    text-align: center;
			    color: #1f8ef6;
			}
			input[type=search] {
			    height: 40px;
			    text-align: center;
			}
			.mui-search input[type=search] {
			    padding-left: 12px;
			    color: #333333;
				background: url(../images/main/icon_search.png) right 6px no-repeat !important;
				background-size: 26px 26px !important;
				background-clip:padding-box;
			}
			.mui-search input[type=search]:focus{
				background-image: none !important;
			}
			.mui-search.mui-active:before {
			    font-size: 20px;
			    right: auto;
			    left: 5px;
			    display: block;
			    margin-right: 0;
			}
			.mui-search:before {
			    margin-top: -10px;
			}
			.mui-search:before {
			    font-size: 30px!important;
			    right: auto;
			    left: 5px;
			    display: block;
			    margin-right: 0;
			    color: #1f8ef6;
			}
			.mui-icon-search:before {
			    display: none;;
			}
		</style>
		<style>
			body{
				display: flex;
				flex-direction: column;
			}
			.mui-content{
				flex-grow: 1;
				display: flex;
				flex-direction: column;
				background-color: #4285f4;
			}
			.menu-content{
				flex-grow: 1;
				margin-left:0px;
				margin-right: 0px;
				display: flex;
				flex-direction: column;
			}
			.menu-item{
				height: 25%;
			}
			.mui-grid-9{
				flex-grow: 1;
				display: flex;
				flex-direction: row;
				flex-wrap: wrap;
				justify-content: space-between;
				align-items: center;
			}
			.mui-grid-view.mui-grid-9 .mui-table-view-cell{
				border: 0px;
			}
			.mui-table-view.mui-grid-view .mui-table-view-cell .mui-media-body{
				margin-top: 0px;
			}
			.mui-search .mui-placeholder{
				text-align: left;
				padding-left: 5px;
				color: #666666;
			}
			.mui-search:before{
				content: "";
			}
			.sear-icon{
				    
			}
		</style>
	</head>
	
	<body>
		<header class="mui-bar mui-bar-nav">
			<a class="mui-icon mui-icon-locked mui-pull-right app-logout"></a>
			<h1 class="mui-title">湖南省住建厅一张图</h1>
		</header>
		<div class="mui-content">
			<!--<form class="mui-input-group">
				<div class="mui-input-row mui-search">
				    <input type="search" class="sear-icon mui-input-clear" placeholder="输入地点或名称">
				</div>
			</form>-->
			<div>
				<img src="../images/new_icon/banner.png" style="width: 100%;margin-bottom: -8px;" alt="" />
			</div>
			<div class="menu-content">
				<ul class="mui-table-view mui-grid-view mui-grid-9">
					<li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-4 menu-item ">
					    <a href="./xxczh/xxhczMain.html" class="app-link">
				   	 		<div class="item-icon" style="background-image: url(../images/new_icon/xxczh.png);"></div>
					        <div class="mui-media-body">新型城镇化</div>
					    </a>
					</li>
					<li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-4 menu-item ">
					    <a href="./hcs/mapMain.html" data-wid="hcsMain" class="app-link">
				   	 		<div class="item-icon" style="background-image: url(../images/new_icon/cshcs.png);"></div>
					        <div class="mui-media-body">城市黑臭水</div>
					    </a>
					</li>
					<li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-4 menu-item ">
					    <a href="./bzf/bzfMain.html" class="app-link">
					        <div class="item-icon" style="background-image: url(../images/new_icon/bzjzf.png);"></div>
					        <div class="mui-media-body">保障性住房</div>
					    </a>
					</li>
					<li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-4 menu-item demo-to-hide">
					    <a href="error.html" class="unlink app-link" data-wid="">
					        <div class="item-icon" style="background-image: url(../images/new_icon/wfgz.png);"></div>
					        <div class="mui-media-body">危房改造</div>
					    </a>
					</li>
					<li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-4 menu-item demo-to-hide">
					    <a href="error.html" class="unlink app-link" data-wid="">
					        <div class="item-icon" style="background-image: url(../images/new_icon/sxsg.png);"></div>
					        <div class="mui-media-body">双修双改</div>
					    </a>
					</li>
					<li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-4 menu-item  demo-to-hide">
					    <a href="error.html" class="unlink app-link">
					        <div class="item-icon" style="background-image: url(../images/new_icon/czws.png);"></div>
					        <div class="mui-media-body">城镇污水</div>
					    </a>
					</li>
					<li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-4 menu-item  demo-to-hide">
					    <a href="error.html" class="unlink app-link" data-wid="">
					        <div class="item-icon" style="background-image: url(../images/new_icon/csgs.png);"></div>
					        <div class="mui-media-body">城市供水</div>
					    </a>
					</li>
					<li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-4 menu-item  demo-to-hide">
					    <a href="error.html" class="unlink app-link">
				   	 		<div class="item-icon" style="background-image: url(../images/new_icon/fjms.png);"></div>
					        <div class="mui-media-body">风景名胜</div>
					    </a>
					</li>
					<li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-4 menu-item  demo-to-hide">
					    <a href="error.html" class="unlink app-link">
					        <div class="item-icon" style="background-image: url(../images/new_icon/jzgc.png);"></div>
					        <div class="mui-media-body">建筑工程</div>
					    </a>
					</li>
					<li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-4 menu-item  demo-to-hide">
					    <a href="error.html" class="unlink app-link" data-wid="hcs-map">
					        <div class="item-icon" style="background-image: url(../images/new_icon/ktsj.png);"></div>
					        <div class="mui-media-body">勘探设计</div>
					    </a>
					</li>
					<li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-4 menu-item  demo-to-hide">
					    <a href="error.html" class="unlink app-link" data-wid="">
					        <div class="item-icon" style="background-image: url(../images/new_icon/fdcjg.png);"></div>
					        <div class="mui-media-body">房地产监管</div>
					    </a>
					</li>
					<li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-4 menu-item  demo-to-hide">
					    <a href="error.html" class="unlink app-link" data-wid="">
					        <div class="item-icon" style="background-image: url(../images/new_icon/zhgd.png);"></div>
					        <div class="mui-media-body">智慧工地</div>
					    </a>
					</li>
				</ul>
			</div>
		</div>
		<script type="text/javascript" src="../js/jquery.min.js" ></script>
		<script type="text/javascript" src="../js/mui.min.js"></script>
		<script type="text/javascript" src="../js/app.js"></script>
		<script type="text/javascript" src="../js/config.js"></script>
		<script type="text/javascript" src="../js/app_update.js" ></script>
		<script type="text/javascript">
			mui.init();
			$app.plusReady(function () {
			    init(); 
			    //$app.checkUpdate();
			    if($app.getUser().loginName == 'demo') {
			    	$(".demo-to-hide").hide();
			    }
			    
				var backButtonPress = 0;
				mui.back = function(event) {
					backButtonPress++;
					if (backButtonPress > 1) {
						plus.runtime.quit();
					} else {
						plus.nativeUI.toast('再按一次退出应用');
					}
					setTimeout(function() {
						backButtonPress = 0;
					}, 1000);
					return false;
				};
			});
			/**
			 * 浏览器测试用
			 */
			$app.webTest(function(){
			    init(); 
			});
			
			function init(){
				/*$('.unlink').click(function(){
					plus.nativeUI.toast('敬请期待！');
					console.log('error');
				});*/
				/*mui('body').on('tap', '.unlink', function(e) {
					e.stopPropagation();
					plus.nativeUI.toast('敬请期待！');
				});*/
			}
		</script>
	</body>

</html>